package b.i.h;

import android.os.Handler;
import b.i.c.b.g;
import b.i.h.e.d;

/* compiled from: FontsContractCompat */
public class c implements b.i.h.f.c<d> {
    public final /* synthetic */ g a;
    public final /* synthetic */ Handler b;

    public c(g gVar, Handler handler) {
        this.a = gVar;
        this.b = handler;
    }

    public void a(Object obj) {
        d dVar = (d) obj;
        if (dVar == null) {
            this.a.a(1, this.b);
            return;
        }
        int i = dVar.b;
        if (i == 0) {
            this.a.b(dVar.a, this.b);
        } else {
            this.a.a(i, this.b);
        }
    }
}
